gtk-demo: Don't use mad mime type guessing
authorBenjamin Otte <otte@redhat.com>
Tue, 26 Aug 2014 02:18:52 +0000 (04:18 +0200)
committerBenjamin Otte <otte@redhat.com>
Wed, 27 Aug 2014 16:02:48 +0000 (18:02 +0200)
commit4a6ecf33fccdd05084701115cb0b067b6a725ef9
treed8bf56f198ba80d9ba792f37d16e92eb6abb01af
parentde061a83a4fe89a6912de0fcdb918e83a9fe824b
gtk-demo: Don't use mad mime type guessing

... for displaying resources. Instead use the proven and way more
reliable method of trial and error.

It's less code and more portable for a start.
But most of all it displays PNM files as text if you fail to compile
the gdk-pixbuf loader for it.
demos/gtk-demo/main.c